package com.example.springboot.pojo;

public class LeaveRequest {
    private Integer id;
    private String workerId;
    private String name;
    private String phoneNumber;
    private String department;
    private String detail;
    private String start;
    private String end;
    private Integer status;


    public LeaveRequest() {
    }

    public LeaveRequest(Integer id, String workerId, String name, String phoneNumber, String department, String detail, String start, String end, Integer status) {
        this.id = id;
        this.workerId = workerId;
        this.name = name;
        this.phoneNumber = phoneNumber;
        this.department = department;
        this.detail = detail;
        this.start = start;
        this.end = end;
        this.status = status;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return workerId
     */
    public String getWorkerId() {
        return workerId;
    }

    /**
     * 设置
     * @param workerId
     */
    public void setWorkerId(String workerId) {
        this.workerId = workerId;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return phoneNumber
     */
    public String getPhoneNumber() {
        return phoneNumber;
    }

    /**
     * 设置
     * @param phoneNumber
     */
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    /**
     * 获取
     * @return department
     */
    public String getDepartment() {
        return department;
    }

    /**
     * 设置
     * @param department
     */
    public void setDepartment(String department) {
        this.department = department;
    }

    /**
     * 获取
     * @return detail
     */
    public String getDetail() {
        return detail;
    }

    /**
     * 设置
     * @param detail
     */
    public void setDetail(String detail) {
        this.detail = detail;
    }

    /**
     * 获取
     * @return start
     */
    public String getStart() {
        return start;
    }

    /**
     * 设置
     * @param start
     */
    public void setStart(String start) {
        this.start = start;
    }

    /**
     * 获取
     * @return end
     */
    public String getEnd() {
        return end;
    }

    /**
     * 设置
     * @param end
     */
    public void setEnd(String end) {
        this.end = end;
    }

    /**
     * 获取
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    public String toString() {
        return "LeaveRequest{id = " + id + ", workerId = " + workerId + ", name = " + name + ", phoneNumber = " + phoneNumber + ", department = " + department + ", detail = " + detail + ", start = " + start + ", end = " + end + ", status = " + status + "}";
    }
}
